package com.xuyuan.mybatis.mapper;

import com.xuyuan.agent.entity.Student;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface StudentMapper {

    // @ResultType(Student.class)
    // @Select("select * from student")
    List<Student> selectAll();

    // @ResultType(Student.class)
    // @Select("select * from student WHERE id = #{id}")
    Student selectById(String id);

    List<String> snowflake(@Param("list") List list);
}

